package io.github.betwowt.swagger.annotation;

import io.github.betwowt.swagger.configuration.SwaggerConfiguration;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * swagger 手动装配选择器
 */
public class SwaggerImportSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[]{SwaggerConfiguration.class.getName()};
    }
}
